.usage-container {
  width: 100%;
  height: 100%;
  padding: 32px 24px;
  overflow: auto;
  position: relative;
  background: radial-gradient(
    circle at bottom right,
    rgba(0, 255, 157, 0.03) 0%,
    transparent 70%
  );
}

.usage-card {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.usage-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.usage-alert {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 8px;
  padding: 16px;
}

.usage-badge {
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.usage-discount-badge {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
}

.usage-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.usage-progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.8)
  );
  border-radius: 2px;
  transition: width 0.3s ease;
}

.payment-card {
  min-width: 280px;
  max-width: 400px;
}

.payment-card button {
  width: fit-content;
}

/* We can remove or comment out the previous active state styling since we're using the new one */
/* [data-radix-tabs-trigger][data-state='active'] {
  background-color: var(--gray-a4) !important;
} */

.nav-tabs {
  margin-top: 32px;
}

.tier-badge {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.overage-section {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add these new styles */
.payment-status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid;
  transition: all 0.2s ease;
}

.status-success {
  background: rgba(0, 255, 157, 0.1);
  border-color: rgba(0, 255, 157, 0.2);
  color: #00ff9d;
}

.status-failed {
  background: rgba(255, 77, 77, 0.1);
  border-color: rgba(255, 77, 77, 0.2);
  color: #ff4d4d;
}

.status-cancelled {
  background: rgba(255, 165, 0, 0.1);
  border-color: rgba(255, 165, 0, 0.2);
  color: #ffa500;
}

/* Update existing usage-card for payment status */
.usage-card.payment-failed {
  border-color: rgba(255, 77, 77, 0.2);
  background: rgba(255, 77, 77, 0.05);
}

.usage-card.payment-failed:hover {
  border-color: rgba(255, 77, 77, 0.3);
  background: rgba(255, 77, 77, 0.08);
}

/* Chart styles */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

select:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

select option {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.9);
}

/* Modern Chart Styles */
.recharts-tooltip-wrapper {
  transition: transform 0.15s ease-in-out;
}

.recharts-default-tooltip {
  transition: all 0.15s ease-in-out;
}

.recharts-line {
  filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.2));
}

.recharts-active-dot {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
}

.chart-container {
  width: 100%;
  max-width: 800px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  flex: 1;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}
